package com.gxuwz.stats.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("rsp_research_award")
public class ResearchAward {

    @TableId(type = IdType.AUTO)
    private int researchAwardId;

    private Integer userId;

    private String researchAwardName;
    private String researchAwardCategory; //类别
    private String researchAwardType; //类型：自然科学和人文社科
    private int researchAwardScore;
    private String researchawardNotes;

    @TableField(exist = false) // 不映射到数据库
    private String username;

    public int getResearchAwardId() {
        return researchAwardId;
    }

    public void setResearchAwardId(int researchAwardId) {
        this.researchAwardId = researchAwardId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getResearchAwardName() {
        return researchAwardName;
    }

    public void setResearchAwardName(String researchAwardName) {
        this.researchAwardName = researchAwardName;
    }

    public String getResearchAwardCategory() {
        return researchAwardCategory;
    }

    public void setResearchAwardCategory(String researchAwardCategory) {
        this.researchAwardCategory = researchAwardCategory;
    }

    public String getResearchAwardType() {
        return researchAwardType;
    }

    public void setResearchAwardType(String researchAwardType) {
        this.researchAwardType = researchAwardType;
    }

    public int getResearchAwardScore() {
        return researchAwardScore;
    }

    public void setResearchAwardScore(int researchAwardScore) {
        this.researchAwardScore = researchAwardScore;
    }

    public String getResearchawardNotes() {
        return researchawardNotes;
    }

    public void setResearchawardNotes(String researchawardNotes) {
        this.researchawardNotes = researchawardNotes;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "ResearchAward{" +
                "researchAwardId=" + researchAwardId +
                ", userId=" + userId +
                ", researchAwardName='" + researchAwardName + '\'' +
                ", researchAwardCategory='" + researchAwardCategory + '\'' +
                ", researchAwardType='" + researchAwardType + '\'' +
                ", researchAwardScore=" + researchAwardScore +
                ", researchawardNotes='" + researchawardNotes + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
